#define _CRT_SECURE_NO_WARNINGS 1
#include"Tree.h"


int main()
{
	BTNode* plist =CreatTree();
	//PreOrder(plist);
	//printf("\n");
	//InOrder(plist);
	//printf("\n");
	//PostOrder(plist);
	//printf("\n");	
	//BTNode* find = BinaryTreeFind(plist, 4);
	//printf("%s", find == NULL ? "no" : "yes");
	//BinaryTreeLevelOrder(plist);
	BTNode* flag = BinaryTreeComplete(plist);
	printf("%s", flag == NULL ? "no" : "yes");
	BinaryTreeDestory(&plist);
	return 0;
}